-- GENERATED SPELL FOR [Quillfang Skitterer] --


function spell0_19189(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(33781,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19189', 2314, 1)
end

function Sorts_19189(pUnit, Event)
local choix_sorts_19189 = math.random(0, 0)
if choix_sorts_19189 == 0 then
pUnit:RegisterEvent('spell0_19189', 1, 1)
end
end

function mob19189_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19189', math.random(1500, 3000), 1)
end

function mob19189_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19189_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19189_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19189, 1, 'mob19189_Action')
RegisterUnitEvent(19189, 2, 'mob19189_Leave')
RegisterUnitEvent(19189, 3, 'mob19189_Kill')
RegisterUnitEvent(19189, 4, 'mob19189_Die')
